package com.wellview.template;

/**
 * Created by jizi.chen on 2017/8/28.
 */

public class Constant {


//    public static String URL_HOST = "http://192.168.2.120:8020";
    public static String URL_HOST = "http://x19401k475.51mypc.cn:19517";
    public static String URL_Start_API = URL_HOST + "/Api/APP/GetStartingData";
//    public static String URL_Main = "http://x19401k475.51mypc.cn:21969";
    public static String URL_Main = "http://ws.yjlmall.com";
//    public static String URL_Main = "http://175.153.153.53:8090";
    public static String URL_UPDATE = "http://175.153.153.53:8011/api/upgraded/Get/DZDST";



    ////////////////////////Message ID here begin///////////////////////////////////////////////////
    public static final int PAY_MESSAGE = 0xEE;
    public static final int MESSAGE_PAY_REUSLT = PAY_MESSAGE + 0x00;
    public static final int MESSAGE_PAY_SUCCESS = PAY_MESSAGE + 0x01;
    public static final int MESSAGE_PAY_FAILED = PAY_MESSAGE + 0x02;
    public static final int MESSAGE_PAY_CANCEL = +PAY_MESSAGE + 0x03;
    public static final int MESSAGE_NETWORK = +PAY_MESSAGE + 0x04;



    ////////////////////////Message ID here end///////////////////////////////////////////////////
    public static final String METHOD_NAME = "@method_name";
    public static final int MESSAGE_CHOOSE_METHOD = PAY_MESSAGE + 0x05;
    public static final int MESSAGE_REQUEST_METHOD = PAY_MESSAGE + 0x06;

    ////////////////////////////////////////////////////////////////////////////////////////////////
    public static final int MESSAGE = 0xFF;
    public static final int MESSAGE_X5_INIT = MESSAGE + 0x07;
    ////////////////////////////////////////////////////////////////////////////////////////////////
    public static final int CHOOSE = 0xFF0A;
    public static final int MESSAGE_CHOOSE_PHOTO = CHOOSE + 0x01;
    ////////////////////////////////////////////////////////////////////////////////////////////////
    static {

        switch (0){
            case MESSAGE_PAY_REUSLT:
                break;
            case MESSAGE_PAY_SUCCESS:
                break;
            case MESSAGE_PAY_FAILED:
                break;
            case MESSAGE_PAY_CANCEL:
                break;
            case MESSAGE_NETWORK:
                break;
            case MESSAGE_CHOOSE_METHOD:
                break;
            case MESSAGE_X5_INIT:
                break;
            case MESSAGE_CHOOSE_PHOTO:
                break;

        }
    }
        //与JS交互的方法
        /////////////////////////////////////////////////////////////
        public static final String JS_FUNCTION_SHARE = "onThirdShareResult";
        public static final String JS_FUNCTION_UPLOAD_AVATAR = "onAvatarUploadResult";
        public static final String JS_FUNCTION_LOGINRESULT= "onLoginResult";
}
